package com.syx.system.Service;

import com.syx.commoncore.Model.Result;
import com.syx.commoncore.Model.TableDataInfoResult;
import com.syx.system.Model.question.DTO.QuestionAddDTO;
import com.syx.system.Model.question.DTO.QuestionEditDTO;
import com.syx.system.Model.question.DTO.QuestionQueryDTO;
import com.syx.system.Model.question.VO.QuestionDetailVO;
import org.springframework.stereotype.Service;

@Service
public interface IQuestionService {
    TableDataInfoResult list(QuestionQueryDTO questionQueryDTO);

    Result<Void> add(QuestionAddDTO questionAddDTO);

    Result<QuestionDetailVO> detail(Long questionId);

    Result<Void> edit(QuestionEditDTO questionEditDTO);

    Result<Void> deleteQuestion(Long questionId);

    //Result<Void> delete(Long questionId);
}
